package org.mobicents.servlet.sip.example;

import java.text.Normalizer;
import java.text.Normalizer.Form;
import java.util.concurrent.CopyOnWriteArrayList;

/**
 * 
 * @author Sebastian
 *
 *	Kontener na zdefiniowane w czasie wiadomosci wysylane do okreslonej grupy uzytkownikow
 */

public class CMessage {
	private String timeToDispatch;
	private CopyOnWriteArrayList<CUser> receivers;
	private String message;
	
	public CMessage(String timeToDispatch, CopyOnWriteArrayList<CUser> receivers,
			String message) {
		super();
		this.timeToDispatch = timeToDispatch;
		this.receivers = receivers;
		this.message = message;
	}
	
	public String getTimeToDispatch() {
		return timeToDispatch;
	}
	public void setTimeToDispatch(String timeToDispatch) {
		this.timeToDispatch = timeToDispatch;
	}
	public CopyOnWriteArrayList<CUser> getReceivers() {
		return receivers;
	}
	public void setReceivers(CopyOnWriteArrayList<CUser> receivers) {
		this.receivers = receivers;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	
	
}
